package com.gg.fmallspringboot.service.impl;

import com.gg.fmallspringboot.entity.OrderItem;
import com.gg.fmallspringboot.mapper.OrderItemMapper;
import com.gg.fmallspringboot.service.OrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 作者:Miki
 * 时间:2021/6/22 9:54
 */
@Service
public class OrderItemServiceImpl implements OrderItemService {

    @Autowired
    private OrderItemMapper orderItemMapper;
    @Override
    public int add(OrderItem oi) {
        int count = orderItemMapper.add(oi);
        return count;
    }
}
